package com.lib.model.login;

import org.springframework.beans.factory.annotation.Autowired;

import com.lib.model.dto.AnswerDto;
import com.lib.model.dto.MemberDto;

public class LoginService implements ILoginService{

	@Autowired
	private ILoginDao iLoginDao;
	
	@Override
	public MemberDto getMember(MemberDto dto) {
		return iLoginDao.getMember(dto);
	}

	@Override
	public MemberDto getMyInfo(String id) {
		
		return iLoginDao.getMyInfo(id);
	}

	@Override
	public boolean updateMylibinfo(MemberDto dto) {
		// TODO Auto-generated method stub
		return iLoginDao.updateMylibinfo(dto);
	}

	@Override
	public boolean deleteMember(String id) {
		// TODO Auto-generated method stub
		return iLoginDao.deleteMember(id);
	}

	@Override
	public String findIdCheck(MemberDto dto) {
		// TODO Auto-generated method stub
		return iLoginDao.findIdCheck(dto);
	}

	@Override
	public MemberDto findPsCheck(MemberDto dto) {
		// TODO Auto-generated method stub
		return iLoginDao.findPsCheck(dto);
	}

	@Override
	public boolean reMakePw(MemberDto dto) {
		// TODO Auto-generated method stub
		return iLoginDao.reMakePw(dto);
	}
}